﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/User.Master" AutoEventWireup="true" CodeBehind="ZL_GYS_Edit.aspx.cs" Inherits="CoolERP_Web.User.ZL_GYS_Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="../Scripts/Area.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td class=tbHead_L></td>
        <td class=tbHead_M><div><b><asp:Literal ID="liTitle" runat=server>新增</asp:Literal>供应商</b></div></td>
        <td class=tbHead_R></td>
    </tr>
    <tr>
        <td class=tbBody_L></td>
        <td class=tbBody_M>
        <table border="0" cellpadding=5 cellspacing=0>
            <tr>
                <td width=100px>供应商编号：</td>
                <td><asp:TextBox ID="tbBH" runat="server" CssClass="textbox" MaxLength="4"></asp:TextBox>
                    <span class="style1">* </span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display=Dynamic ForeColor="Red"
                        ControlToValidate="tbBH" ErrorMessage="RequiredFieldValidator">请输入编号</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display=Dynamic ForeColor="Red" 
                        ControlToValidate="tbBH" ErrorMessage="请输入四位编号[字母或数字]" ValidationExpression="[a-zA-Z0-9]{4}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>供应商全称：</td>
                <td><asp:TextBox ID="tbMC" runat="server" CssClass="textbox" MaxLength="64"></asp:TextBox>
                    <span class="style1">* </span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" Display=Dynamic ForeColor="Red"
                        ControlToValidate="tbMC" ErrorMessage="RequiredFieldValidator">请输入供应商全称</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>供应商简称：</td>
                <td><asp:TextBox ID="tbJC" runat="server" CssClass="textbox" MaxLength="64"></asp:TextBox>
                    <span class="style1">* </span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display=Dynamic ForeColor="Red" 
                        ControlToValidate="tbJC" ErrorMessage="RequiredFieldValidator">请输入供应商简称</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>法人代表：</td>
                <td><asp:TextBox ID="tbFRDB" runat="server" CssClass="textbox" MaxLength="32"></asp:TextBox></td>
            </tr>
            <tr>
                <td>公司电话：</td>
                <td><asp:TextBox ID="tbGSDH" runat="server" CssClass="textbox" MaxLength="32"></asp:TextBox></td>
            </tr>
            <tr>
                <td>公司传真：</td>
                <td><asp:TextBox ID="tbGSCZ" runat="server" CssClass="textbox" MaxLength="32"></asp:TextBox></td>
            </tr>
            <tr>
                <td>联系人：</td>
                <td><asp:TextBox ID="tbLXR" runat="server" CssClass="textbox" MaxLength="32"></asp:TextBox></td>
            </tr>
            <tr>
                <td>联系人电话：</td>
                <td><asp:TextBox ID="tbLXRDH" runat="server" CssClass="textbox" MaxLength="32"></asp:TextBox></td>
            </tr>
            <tr>
                <td>联系人手机：</td>
                <td><asp:TextBox ID="tbLXRSJ" runat="server" CssClass="textbox" MaxLength="32"></asp:TextBox></td>
            </tr>
            <tr>
                <td>联系人传真：</td>
                <td><asp:TextBox ID="tbLXRCZ" runat="server" CssClass="textbox" MaxLength="32"></asp:TextBox></td>
            </tr>
            <tr>
                <td>所在地区：</td>
                <td><script>var area = new initArea(false, 'hidArea', 'selProvince', "selCity");</script></td>
            </tr>
            <tr>
                <td>地址：</td>
                <td><asp:TextBox ID="tbDZ" runat="server" CssClass="textbox"></asp:TextBox></td>
            </tr>
            <tr>
                <td>备注：</td>
                <td><asp:TextBox ID="tbBZ" runat="server" CssClass="textbox" MaxLength="256" Height="55px" TextMode="MultiLine" Width="220px"></asp:TextBox></td>
            </tr>
            <tr>
                <td></td>
                <td><asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/Common/btn_save0.png" onclick="btnSave_Click" />&nbsp;&nbsp;
                <a href="ZL_GYS_Query.aspx"><img src="../Images/Common/btn_back0.png" border=0 /></a>
                <asp:Label ID="lbResult" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
        </table>
        </td>
        <td class=tbBody_R></td>
    </tr>
    <tr>
        <td class=tbFoot_L></td>
        <td class=tbFoot_M></td>
        <td class=tbFoot_R></td>
    </tr>
</table>
<asp:HiddenField ID="hdId" runat="server" />
</asp:Content>
